package cn.com.onlinetool.jt809.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;

/**
 * 车辆信息表
 *
 * @author wangxiaogang
 * @date 2021-11-01 15:56:39
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@TableName("tgps_group_car")
@AllArgsConstructor
@NoArgsConstructor
public class CarGroup implements Serializable {
    private static final long serialVersionUID=1L;

    @TableId(type = IdType.INPUT)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Integer id;

    @TableField(value = "car_id")
    private String carId;

    @TableField(value = "group_id")
    private Integer groupId;
}
